<template>
  <footer>
    <van-space>
      <NuxtLink to="/about" v-peach:event="{category: 'reg', action: 'click'}">反馈建议</NuxtLink>
      <NuxtLink to="/about" v-peach:event="{category: 'reg', action: 'click'}">免责声明</NuxtLink>
    </van-space>
    <div>免费在线音乐 © 2025 MyFreeMP3</div>
  </footer>
</template>
<script>
import { computed } from 'vue'

export default defineComponent({
  name: 'IndexFooter',
  setup() {
    const route = useRoute()
    const name = computed(() => route.name)
    return {
      name
    }
  }
})
</script>
<style scoped lang="less">
footer {
  background-color: #f5f5f5;
  padding: 4px 10px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}
</style>
